crypto/cipher.gcm.tagSize (field)
10 uses
crypto/cipher (current package)
gcm.go#L73: tagSize int
gcm.go#L132: g := &gcm{cipher: cipher, nonceSize: nonceSize, tagSize: tagSize}
gcm.go#L165: return g.tagSize
gcm.go#L176: ret, out := sliceForAppend(dst, len(plaintext)+g.tagSize)
gcm.go#L204: if g.tagSize < gcmMinimumTagSize {
gcm.go#L208: if len(ciphertext) < g.tagSize {
gcm.go#L211: if uint64(len(ciphertext)) > ((1<<32)-2)*uint64(g.cipher.BlockSize())+uint64(g.tagSize) {
gcm.go#L215: tag := ciphertext[len(ciphertext)-g.tagSize:]
gcm.go#L216: ciphertext = ciphertext[:len(ciphertext)-g.tagSize]
gcm.go#L232: if subtle.ConstantTimeCompare(expectedTag[:g.tagSize], tag) != 1 {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |